<?php

include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once (__ALIPATH__.'/com/alibaba/openapi/client/entity/ByteArray.class.php');

class AlibabaOceanOpenplatformBizTradeResultFactoryContractAndOrderModel extends SDKDomain {

       	
    private $attributes;
    
        /**
    * @return 
    */
        public function getAttributes() {
        return $this->attributes;
    }
    
    /**
     * 设置     
     * @param Map $attributes     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setAttributes(array $attributes) {
        $this->attributes = $attributes;
    }
    
        	
    private $bizCode;
    
        /**
    * @return 
    */
        public function getBizCode() {
        return $this->bizCode;
    }
    
    /**
     * 设置     
     * @param String $bizCode     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setBizCode( $bizCode) {
        $this->bizCode = $bizCode;
    }
    
        	
    private $buyerId;
    
        /**
    * @return 
    */
        public function getBuyerId() {
        return $this->buyerId;
    }
    
    /**
     * 设置     
     * @param Long $buyerId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setBuyerId( $buyerId) {
        $this->buyerId = $buyerId;
    }
    
        	
    private $creatorId;
    
        /**
    * @return 
    */
        public function getCreatorId() {
        return $this->creatorId;
    }
    
    /**
     * 设置     
     * @param Long $creatorId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setCreatorId( $creatorId) {
        $this->creatorId = $creatorId;
    }
    
        	
    private $draft;
    
        /**
    * @return 
    */
        public function getDraft() {
        return $this->draft;
    }
    
    /**
     * 设置     
     * @param Boolean $draft     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setDraft( $draft) {
        $this->draft = $draft;
    }
    
        	
    private $endTime;
    
        /**
    * @return 
    */
        public function getEndTime() {
        return $this->endTime;
    }
    
    /**
     * 设置     
     * @param Date $endTime     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setEndTime( $endTime) {
        $this->endTime = $endTime;
    }
    
        	
    private $gmtCreate;
    
        /**
    * @return 
    */
        public function getGmtCreate() {
        return $this->gmtCreate;
    }
    
    /**
     * 设置     
     * @param Date $gmtCreate     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setGmtCreate( $gmtCreate) {
        $this->gmtCreate = $gmtCreate;
    }
    
        	
    private $gmtModified;
    
        /**
    * @return 
    */
        public function getGmtModified() {
        return $this->gmtModified;
    }
    
    /**
     * 设置     
     * @param Date $gmtModified     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setGmtModified( $gmtModified) {
        $this->gmtModified = $gmtModified;
    }
    
        	
    private $id;
    
        /**
    * @return 
    */
        public function getId() {
        return $this->id;
    }
    
    /**
     * 设置     
     * @param Long $id     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setId( $id) {
        $this->id = $id;
    }
    
        	
    private $name;
    
        /**
    * @return 
    */
        public function getName() {
        return $this->name;
    }
    
    /**
     * 设置     
     * @param String $name     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setName( $name) {
        $this->name = $name;
    }
    
        	
    private $number;
    
        /**
    * @return 
    */
        public function getNumber() {
        return $this->number;
    }
    
    /**
     * 设置     
     * @param String $number     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setNumber( $number) {
        $this->number = $number;
    }
    
        	
    private $orderId;
    
        /**
    * @return 
    */
        public function getOrderId() {
        return $this->orderId;
    }
    
    /**
     * 设置     
     * @param String $orderId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setOrderId( $orderId) {
        $this->orderId = $orderId;
    }
    
        	
    private $parentId;
    
        /**
    * @return 
    */
        public function getParentId() {
        return $this->parentId;
    }
    
    /**
     * 设置     
     * @param Long $parentId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setParentId( $parentId) {
        $this->parentId = $parentId;
    }
    
        	
    private $productsId;
    
        /**
    * @return 
    */
        public function getProductsId() {
        return $this->productsId;
    }
    
    /**
     * 设置     
     * @param Long $productsId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setProductsId( $productsId) {
        $this->productsId = $productsId;
    }
    
        	
    private $remark;
    
        /**
    * @return 
    */
        public function getRemark() {
        return $this->remark;
    }
    
    /**
     * 设置     
     * @param String $remark     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setRemark( $remark) {
        $this->remark = $remark;
    }
    
        	
    private $sellerId;
    
        /**
    * @return 
    */
        public function getSellerId() {
        return $this->sellerId;
    }
    
    /**
     * 设置     
     * @param Long $sellerId     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSellerId( $sellerId) {
        $this->sellerId = $sellerId;
    }
    
        	
    private $signTime;
    
        /**
    * @return 
    */
        public function getSignTime() {
        return $this->signTime;
    }
    
    /**
     * 设置     
     * @param Date $signTime     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSignTime( $signTime) {
        $this->signTime = $signTime;
    }
    
        	
    private $snapshot;
    
        /**
    * @return 
    */
        public function getSnapshot() {
        return $this->snapshot;
    }
    
    /**
     * 设置     
     * @param Boolean $snapshot     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSnapshot( $snapshot) {
        $this->snapshot = $snapshot;
    }
    
        	
    private $startTime;
    
        /**
    * @return 
    */
        public function getStartTime() {
        return $this->startTime;
    }
    
    /**
     * 设置     
     * @param Date $startTime     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setStartTime( $startTime) {
        $this->startTime = $startTime;
    }
    
        	
    private $status;
    
        /**
    * @return 
    */
        public function getStatus() {
        return $this->status;
    }
    
    /**
     * 设置     
     * @param String $status     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setStatus( $status) {
        $this->status = $status;
    }
    
        	
    private $subStatus;
    
        /**
    * @return 
    */
        public function getSubStatus() {
        return $this->subStatus;
    }
    
    /**
     * 设置     
     * @param String $subStatus     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setSubStatus( $subStatus) {
        $this->subStatus = $subStatus;
    }
    
        	
    private $type;
    
        /**
    * @return 
    */
        public function getType() {
        return $this->type;
    }
    
    /**
     * 设置     
     * @param Integer $type     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setType( $type) {
        $this->type = $type;
    }
    
        	
    private $version;
    
        /**
    * @return 
    */
        public function getVersion() {
        return $this->version;
    }
    
    /**
     * 设置     
     * @param String $version     
     * 参数示例：<pre></pre>     
     * 此参数必填     */
    public function setVersion( $version) {
        $this->version = $version;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "attributes", $this->stdResult )) {
    				$this->attributes = $this->stdResult->{"attributes"};
    			}
    			    		    				    			    			if (array_key_exists ( "bizCode", $this->stdResult )) {
    				$this->bizCode = $this->stdResult->{"bizCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "buyerId", $this->stdResult )) {
    				$this->buyerId = $this->stdResult->{"buyerId"};
    			}
    			    		    				    			    			if (array_key_exists ( "creatorId", $this->stdResult )) {
    				$this->creatorId = $this->stdResult->{"creatorId"};
    			}
    			    		    				    			    			if (array_key_exists ( "draft", $this->stdResult )) {
    				$this->draft = $this->stdResult->{"draft"};
    			}
    			    		    				    			    			if (array_key_exists ( "endTime", $this->stdResult )) {
    				$this->endTime = $this->stdResult->{"endTime"};
    			}
    			    		    				    			    			if (array_key_exists ( "gmtCreate", $this->stdResult )) {
    				$this->gmtCreate = $this->stdResult->{"gmtCreate"};
    			}
    			    		    				    			    			if (array_key_exists ( "gmtModified", $this->stdResult )) {
    				$this->gmtModified = $this->stdResult->{"gmtModified"};
    			}
    			    		    				    			    			if (array_key_exists ( "id", $this->stdResult )) {
    				$this->id = $this->stdResult->{"id"};
    			}
    			    		    				    			    			if (array_key_exists ( "name", $this->stdResult )) {
    				$this->name = $this->stdResult->{"name"};
    			}
    			    		    				    			    			if (array_key_exists ( "number", $this->stdResult )) {
    				$this->number = $this->stdResult->{"number"};
    			}
    			    		    				    			    			if (array_key_exists ( "orderId", $this->stdResult )) {
    				$this->orderId = $this->stdResult->{"orderId"};
    			}
    			    		    				    			    			if (array_key_exists ( "parentId", $this->stdResult )) {
    				$this->parentId = $this->stdResult->{"parentId"};
    			}
    			    		    				    			    			if (array_key_exists ( "productsId", $this->stdResult )) {
    				$this->productsId = $this->stdResult->{"productsId"};
    			}
    			    		    				    			    			if (array_key_exists ( "remark", $this->stdResult )) {
    				$this->remark = $this->stdResult->{"remark"};
    			}
    			    		    				    			    			if (array_key_exists ( "sellerId", $this->stdResult )) {
    				$this->sellerId = $this->stdResult->{"sellerId"};
    			}
    			    		    				    			    			if (array_key_exists ( "signTime", $this->stdResult )) {
    				$this->signTime = $this->stdResult->{"signTime"};
    			}
    			    		    				    			    			if (array_key_exists ( "snapshot", $this->stdResult )) {
    				$this->snapshot = $this->stdResult->{"snapshot"};
    			}
    			    		    				    			    			if (array_key_exists ( "startTime", $this->stdResult )) {
    				$this->startTime = $this->stdResult->{"startTime"};
    			}
    			    		    				    			    			if (array_key_exists ( "status", $this->stdResult )) {
    				$this->status = $this->stdResult->{"status"};
    			}
    			    		    				    			    			if (array_key_exists ( "subStatus", $this->stdResult )) {
    				$this->subStatus = $this->stdResult->{"subStatus"};
    			}
    			    		    				    			    			if (array_key_exists ( "type", $this->stdResult )) {
    				$this->type = $this->stdResult->{"type"};
    			}
    			    		    				    			    			if (array_key_exists ( "version", $this->stdResult )) {
    				$this->version = $this->stdResult->{"version"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "attributes", $this->arrayResult )) {
    			$this->attributes = $arrayResult['attributes'];
    			}
    		    	    			    		    			if (array_key_exists ( "bizCode", $this->arrayResult )) {
    			$this->bizCode = $arrayResult['bizCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "buyerId", $this->arrayResult )) {
    			$this->buyerId = $arrayResult['buyerId'];
    			}
    		    	    			    		    			if (array_key_exists ( "creatorId", $this->arrayResult )) {
    			$this->creatorId = $arrayResult['creatorId'];
    			}
    		    	    			    		    			if (array_key_exists ( "draft", $this->arrayResult )) {
    			$this->draft = $arrayResult['draft'];
    			}
    		    	    			    		    			if (array_key_exists ( "endTime", $this->arrayResult )) {
    			$this->endTime = $arrayResult['endTime'];
    			}
    		    	    			    		    			if (array_key_exists ( "gmtCreate", $this->arrayResult )) {
    			$this->gmtCreate = $arrayResult['gmtCreate'];
    			}
    		    	    			    		    			if (array_key_exists ( "gmtModified", $this->arrayResult )) {
    			$this->gmtModified = $arrayResult['gmtModified'];
    			}
    		    	    			    		    			if (array_key_exists ( "id", $this->arrayResult )) {
    			$this->id = $arrayResult['id'];
    			}
    		    	    			    		    			if (array_key_exists ( "name", $this->arrayResult )) {
    			$this->name = $arrayResult['name'];
    			}
    		    	    			    		    			if (array_key_exists ( "number", $this->arrayResult )) {
    			$this->number = $arrayResult['number'];
    			}
    		    	    			    		    			if (array_key_exists ( "orderId", $this->arrayResult )) {
    			$this->orderId = $arrayResult['orderId'];
    			}
    		    	    			    		    			if (array_key_exists ( "parentId", $this->arrayResult )) {
    			$this->parentId = $arrayResult['parentId'];
    			}
    		    	    			    		    			if (array_key_exists ( "productsId", $this->arrayResult )) {
    			$this->productsId = $arrayResult['productsId'];
    			}
    		    	    			    		    			if (array_key_exists ( "remark", $this->arrayResult )) {
    			$this->remark = $arrayResult['remark'];
    			}
    		    	    			    		    			if (array_key_exists ( "sellerId", $this->arrayResult )) {
    			$this->sellerId = $arrayResult['sellerId'];
    			}
    		    	    			    		    			if (array_key_exists ( "signTime", $this->arrayResult )) {
    			$this->signTime = $arrayResult['signTime'];
    			}
    		    	    			    		    			if (array_key_exists ( "snapshot", $this->arrayResult )) {
    			$this->snapshot = $arrayResult['snapshot'];
    			}
    		    	    			    		    			if (array_key_exists ( "startTime", $this->arrayResult )) {
    			$this->startTime = $arrayResult['startTime'];
    			}
    		    	    			    		    			if (array_key_exists ( "status", $this->arrayResult )) {
    			$this->status = $arrayResult['status'];
    			}
    		    	    			    		    			if (array_key_exists ( "subStatus", $this->arrayResult )) {
    			$this->subStatus = $arrayResult['subStatus'];
    			}
    		    	    			    		    			if (array_key_exists ( "type", $this->arrayResult )) {
    			$this->type = $arrayResult['type'];
    			}
    		    	    			    		    			if (array_key_exists ( "version", $this->arrayResult )) {
    			$this->version = $arrayResult['version'];
    			}
    		    	    		}
 
   
}
?>